home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 8408 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  903 b 

  1. Path: btree.is.brooktree.com!usenet
  2. From: sasha@brooktree.com (Alex Bakaev)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Trouble writing windows DLL in Borland C++ 4.5
  5. Date: Sat, 17 Feb 1996 22:01:15 GMT
  6. Organization: Brooktree Corporation
  7. Message-ID: <4g5j2i$rqv@btree.brooktree.com>
  8. References: <wbmcmast.2.00659551@bud.peinet.pe.ca>
  9. NNTP-Posting-Host: komissar.is.brooktree.com
  10.  
  11. wbmcmast@bud.peinet.pe.ca wrote:
  12.  
  13. [deleted]
  14.  
  15. >What am I doing wrong here?  How can I get BC++4.5 to generate a .dll file?
  16. >Do I need WinMain() and LibMain()?  Why do I get the linker error when I
  17. >try to link without the WinMain()?
  18.  
  19. 1.You are not setting desired targed properly. Right-click mouse on
  20. the .dll node, choose TargetExpert and set it to windows dll. Make
  21. sure you uncheck OWL check box. 
  22. 2.You do not need either function ( WinMain is for .exe only and
  23. Borland libs supply a default LibMain and WEP )
  24.  
  25. HTH, Alex
  26.  
  27.  
  28.